import {type PageRequest} from "@/types/PageRequest"

export enum PayStatus{
    payStatus_wait = "payStatus_wait",
    payStatus_success = "payStatus_success",
    payStatus_cancel = "payStatus_cancel"
}

export enum PayType{
    payType_cash = "payType_cash",
    payType_WeiXin = "payType_WeiXin",
    payType_ZhiFuBao = "payType_ZhiFuBao"
}

export interface SelectPayOrderAO extends PageRequest{
    payDtoId?:string,
    moneyBegin?:string,
    moneyEnd?:string,
    payStatus?:PayStatus,
    payType?:PayType,
    // startTime?:Date[],
    startTimeBegin?:string,
    startTimeEnd?:string,
    // successTime?:Date[],
    successTimeBegin?:string,
    successTimeEnd?:string,
    // cancelTime?:Date[],
    cancelTimeBegin?:string,
    cancelTimeEnd?:string,
    isBack?:string,
}

export interface PayOrderVO{
    payDtoId:string,
    money:string,
    payStatus:PayStatus,
    payStatusName:string,
    payType:PayType,
    payTypeName:string,
    startTime:string,
    overTime:string,
    successTime:string,
    cancelTime:string,
    isBack:string,
    payRemark:string,
}

export interface PayBackAO{
    payDtoId?:string,
    money?:string,
}

export interface SelectPayBackOrderAO extends PageRequest{
    payBackDtoId?:string,
    payDtoId?:string,
    backMoneyBegin?:string,
    backMoneyEnd?:string,
    backTimeBegin?:string,
    backTimeEnd?:string
}

export interface PayBackVO{
    payBackDtoId?:string,
    payDtoId?:string,
    backMoney?:string
    backTime?:string
}